package team.lourd.network.system.handler;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.rest.core.annotation.HandleAfterCreate;
import org.springframework.data.rest.core.annotation.RepositoryEventHandler;
import team.lourd.network.system.own.domain.netel.NEModel;
import team.lourd.network.system.own.repository.jpa.netel.NEModelRepository;

@RepositoryEventHandler
public class NEModelEventHandler {

    @Autowired
    private NEModelRepository nEModelRepository;

    // 变相的进行关联保持
    @HandleAfterCreate
    public void handleAfterSave(NEModel nEModel) {

    }
}
